FROM openjdk:8
MAINTAINER zhoutian@csztv.com

#设置时区
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone

COPY target/*.jar /app.jar

ENTRYPOINT ["java","-jar","/app.jar"]


